home *** CD-ROM | disk | FTP | other *** search
- Path: Inter.NL.net!hguijt
- From: hguijt@nijmegen.inter.nl.net (H.Guijt)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: What the new Amiga-OS *must* have --> SAY *NO* TO FAT BINARIES!
- Date: 24 Mar 1996 23:09:34 GMT
- Organization: Inter.NL.net, The Internet Provider in The Netherlands.
- Message-ID: <4j4kne$gj6@altrade.nijmegen.inter.nl.net>
- NNTP-Posting-Host: hatert.nijmegen.inter.nl.net
- X-Newsreader: TIN [version 1.2 PL2]
-
-
- > HG> And I despise that 'clicktofront' feature. I find myself continuously
- > HG> resizing stuff so I can read in one window and work in another.
- >
- >Agreed. But I really like the clicktofront way of doubeclicking the window
- >border, and it is moved to the front. There is one program for the Amiga
- >that provides this. I think Motif have it as well.
-
- My (limited) command of the English language strikes again. I meant to say I
- like clicktofront as a feature, but the windows implementation sucks. On my
- amiga I run something that lets me click windows to front (and back!) by
- pressing both mousebuttons at the same time. That's not completely perfect
- but I can live with it.
-
- Far better though is that I could get rid of it if I didn't like it. No
- matter how you want to have your clicktofronts, there is a program out there
- that will do it just that way.
-
- > HG> No, you'd rather have that great windows API (GetWindowLong (Window,
- > HG> -16) anyone?)...
- >
- >And that means? (Haven't done any Windows programming...)
-
- Bless you! I have been working in Powerbuilder (a visual programming
- language for windows) lately. Powerbuilder has an interesting bug: you
- specify a window as non-resizable, and it in turn completely ignores you.
-
- GetWindowLong (Window, -16) peeks the window structure at offset -16, this
- is where it stores information about windows being resizable or not. BTW,
- the -16 is there because Powerbuilder does not support constants.
-
- After you have obtained this LONG you have to subtract 262144 from it
- (Powerbuilder does not support bitwise 'and' either) to make the window
- non-resizable, and store it back using a similar call.
-
- All this has some interesting implications about the windows API, and I
- think it says a lot about Powerbuilder.
-
- It gets even worse though: Powerbuilder offers no way to build resizable
- GUI's other than moving all window elements by hand. It is also completely
- font-insensitive. This already meant I had to redraw 90% of my application
- when the user came in for early testing and thought the font I used was too
- small to be readable. 90% wasn't much at that time but still...
-
- And it means my application is locked to the resolution I programmed in
- (800*600). No way could it ever be run in 640*480. And in 1024*768 and up it
- looks silly, all those stamp-sized windows...
-
- Since I work with Powerbuilder I have fallen in love with MUI. No mucking
- about with the user specifying the font for the application before you begin
- programming, no resolution-dependance, and all windows are automatically
- resizable. Even better, I (as a programmer) do not have to painstakingly
- place every gadget in the right place - MUI does all that for me.
-
- > HG> So you can change dialog boxes in Windows - big deal. Now try hacking
- > HG> *real windows*. Oops - you can't.
- >
- >But the concept is quite nice. No need to recompile a program only because
- >you want to change the layout a little. For a developer this could be very
- >convenient.
-
- It saved our buts! I work for a Dutch customer (that's not surprising; I am
- in fact Dutch) and all those standard powerbuilder requesters are in
- English. Windows has such great support for localization (NOT!) so we had to
- use a tool to break our libraries apart and translate all text by hand.
-
- > HG> The GUI's produced by MUI are among the most beautiful I have seen on
- > HG> any platform (including Windows, Windows 95, OS/2, EASE, GEOS, Motif,
- > HG> Solaris, and others). Even better, they don't need wide expanses of
- > HG> screen just to show a simple 'yes-no' style window.
- >
- >But MUI has its own set of problems... And I'm not _that_ fond of the look
- >(I have tried to make it better, but never really succeeded).
-
- It can be (almost) completely gadtools, and when you add some nice marble
- texturing there is very little that beats it. Of course there are still some
- bugs, such as the fact that it screws up my WB colors. There should be a
- thread called 'MUI is purple' on one of the csa.* groups but I have been
- unable to find it; anyways, I agree with that!
-
- > HG> New ASL? What should it contain?
- >
- >Nothing much, I guess, but I don't really like parts of its behaviour...
-
- You always have the option of installing ReqTools (not ideal either but I
- like it better than ASL). Or ARQ. Or both.
-
- I hate the Windows filerequester (it only shows 5 lines when there is room
- for 50 lines on my screen, and I always need line 6 or 7). And it always
- defaults to the wrong directory, no matter what application you are using.
-
- I can't wait for the day I can make a living from programming Amiga's.
-
-
- Bye,
-
- Hans
-
-
-
-